﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ITM495.Lab2.Core.Entities;

namespace ITM495.Lab2.Core
{
    /// <summary>
    /// Interface for writing a collection of entiies.
    /// </summary>
    public interface IWriter<T> where T: class
    {
        /// <summary>
        /// Writes a collection of Items to a data source
        /// </summary>
        /// <param name="entities">List of entities to write</param>
        void Write(IList<T> entities);
      
    }
}
